/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.repair.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 保养模板历史表实体类
 *
 * @author lsay
 * @since 2023-12-14
 */
@Data
@TableName("blade_maintain_template_history")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "MaintainTemplateHistory对象", description = "保养模板历史表")
public class MaintainTemplateHistory extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 工单id
	 */
	@ApiModelProperty(value = "工单id")
	private Long planId;
	/**
	 * 模板id
	 */
	@ApiModelProperty(value = "模板id")
	private Long templateId;
	/**
	 * 名称
	 */
	@ApiModelProperty(value = "名称")
	private String name;
	/**
	 * 描述
	 */
	@ApiModelProperty(value = "描述")
	@TableField(value = "`desc`")
	private String desc;
	/**
	 * 任务模板类型id
	 */
	@ApiModelProperty(value = "任务模板类型id")
	private String planType;
	/**
	 * 任务模板类型名称
	 */
	@ApiModelProperty(value = "任务模板类型名称")
	private String planTypeName;
	/**
	 * 适用梯形类型id
	 */
	@ApiModelProperty(value = "适用梯形类型id")
	private String applyElevatorType;
	/**
	 * 适用梯形类型名称
	 */
	@ApiModelProperty(value = "适用梯形类型名称")
	private String applyElevatorTypeName;
	/**
	 * 模板层级 1-一级 2-二级
	 */
	@ApiModelProperty(value = "模板层级 1-一级 2-二级")
	private Integer tier;
	/**
	 * 工作项传递逻辑关系到分类  1-传递 2-不传递
	 */
	@ApiModelProperty(value = "工作项传递逻辑关系到分类  1-传递 2-不传递")
	private Integer isTransmit;
	/**
	 * 关联工作项数量
	 */
	@ApiModelProperty(value = "关联工作项数量")
	private Integer workItemCount;
	/**
	 * 模板耗时 天
	 */
	@ApiModelProperty(value = "模板耗时 天")
	private Integer workDay;
	/**
	 * 模板耗时 时
	 */
	@ApiModelProperty(value = "模板耗时 时")
	private Integer workHour;
	/**
	 * 模板耗时 分钟
	 */
	@ApiModelProperty(value = "模板耗时 分钟")
	private Integer workMin;
	/**
	 * 模板场景分类id
	 */
	@ApiModelProperty(value = "模板场景分类id")
	private Long templateSceneTypeId;
	/**
	 * 模板场景分类名称
	 */
	@ApiModelProperty(value = "模板场景分类名称")
	private String templateSceneTypeName;
	/**
	 * 模板场景分类描述
	 */
	@ApiModelProperty(value = "模板场景分类描述")
	private String templateSceneTypeDesc;


}
